<%--
  Created by IntelliJ IDEA.
  User: 凤与泥
  Date: 2021/4/26
  Time: 19:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>EL表达式快速入门</title>
</head>
<body>
    <%--向域对象中添加数据--%>
    <% request.setAttribute("username","zhangsan"); %>

    <%--获取数据--%>
    Java代码块：<% out.print(request.getAttribute("username")); %><br>

    Jsp表达式：<%= request.getAttribute("username") %><br>

    EL表达式：${username}
</body>
</html>
